package com.imufe.chemicalenterprisedangerwarning.service;

import com.imufe.chemicalenterprisedangerwarning.entity.po.UnitItemPO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.imufe.chemicalenterprisedangerwarning.entity.query.ChemicalQuery;
import com.imufe.chemicalenterprisedangerwarning.entity.query.UnitItemQuery;
import com.imufe.chemicalenterprisedangerwarning.entity.vo.ChemicalDetailedVO;
import com.imufe.chemicalenterprisedangerwarning.entity.vo.UnitItemDetailedVO;
import com.imufe.chemicalenterprisedangerwarning.exception.ValidationException;

/**
 * <p>
 * 模块条目表 服务类
 * </p>
 *
 * @author BaiBan
 * @since 2022-10-06
 */
public interface UnitItemService extends IService<UnitItemPO> {


    /**
     * 模块条目项详细
     */
    UnitItemDetailedVO detailed(Long id) throws ValidationException;

    /**
     * 新增一个模块条目项
     */
    UnitItemDetailedVO create(UnitItemQuery query) throws ValidationException;
}
